<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>平面转换</title>
    <style>
        div{
            width: 100%;
            border: 1px solid red;
        }
        img{
            width: 300px;
            transition: all 3s;
        }
        img:hover{
            transform: translate(1220px) rotate(360deg);
        }
    </style>
</head>
<body>
    <div>
        <img src="../img/tyre.png">
    </div>
    
</body>
</html>